package com.jzo2o.foundations.service;

import com.jzo2o.api.foundations.dto.ServeItemSimpleDTO;
import com.jzo2o.api.foundations.dto.response.ServeTypeCategoryResDTO;
import com.jzo2o.foundations.model.domain.Serve;
import com.jzo2o.foundations.model.domain.ServeItem;
import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;

import java.util.List;

public interface HomeService {

    /**
     * 首页服务列表
     * @param regionId
     * @return
     */
    List<ServeCategoryResDTO> firstPageServeList(Long regionId);

    List<ServeTypeCategoryResDTO> serveTypeList (Long regionId);

    List<ServeAggregationSimpleResDTO> hotServeList (Long regionId);

    ServeAggregationSimpleResDTO getById (Long id);

    ServeItem getServeItemById (Long serveItemId);
    Serve getServeById (Long id);

    List<ServeItemSimpleDTO> search (String cityCode, Long serveTypeId);
}